﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessObjects.BO_GetObjects;

public partial class Controls_SBHotNews : Base_Controls
{
    protected void Page_Load(object sender, EventArgs e)
    {
        base.setField(Convert.ToInt32(this.Attributes["ID"]));
        if (!IsPostBack)
        {
            int lang = 0;
            if (base.Lang)
                lang = 1;
            base.bindRepeater(rptData, BO_portal_articles.SelectLangByModule(base.Mid, base.PSize, lang));
        }
    }
}